|
|
|
|
|
|
|
Figure 20.7.
Fields added when the Design Master is created. |
|
|
|
|
|
|
|
|
The s_Generation field identifies records that have been changed. All records start out with a number 1 in this field. This number changes to 0 when the record is modified in any way. During synchronization between members of the replica set (discussed later in this chapter) only the records with a 0 in this field are transferred. This speeds the synchronization process by requiring the transmission of only the records that were actually changed. |
|
|
|
|
|
|
|
|
The s_GUID field is a 16-bit GUID field that serves as a unique identifier for each record. This number remains the same for each record across all members of the replica set. |
|
|
|
|
|
|
|
|
The s_Lineage field contains the name of the last replica member to update a record. This field is not readable by the users of the database. |
|
|
|
|
|
|
|
|
We discuss these fields as we make changes to the database. |
|
|
|
|
|
|
|
|
System Tables Added to a Replicated Database |
|
|
|
|
|
|
|
|
With the REPLMAST.MDB database still open, let's take a look at the system tables that now exist. For comparison, refer back to Figure 20.2 to see a listing of the tables that existed before the creation of the Design Master. |
|
|
|
|
|
|
|
|
As you can see, many new tables have been added to the REPLMAST.MDB database. The purpose of these tables is to keep track of synchronization activities to ensure that members of the replica set are updated properly. For a complete description of the tables added, look at Visual Basic Books Online and search using the phrase "Replication System Tables." Then choose the "Changes to Your Database" topic. |
|
|
|
|
|